from django.db import models

class Post(models.Model):
    title = models.CharField(max_length=200)
    content = models.TextField()
    author = models.CharField(max_length=200)
    pub_date = models.DateTimeField(auto_now_add=True)

def __str__(self):
    return self.name
# Create your models here.
